package com.service.impl;


import com.service.WebServiceService;
import com.util.Utils;

import javax.jws.WebParam;
import javax.jws.WebService;

/**
 * Created with IntelliJ IDEA.
 * User: gg
 * Date: 14-4-16
 * Time: 下午4:42
 * To change this template use File | Settings | File Templates.
 */
@WebService(endpointInterface = "com.service.WebServiceService")
public class WebServiceServiceImpl implements WebServiceService {
    @Override
    public String preListByXmlString(@WebParam(name = "xmlString") String xmlString, @WebParam(name = "md5") String md5) {
        boolean b = Utils.validateMD5Info(xmlString, md5);
        if(b){
            //deal something
        }
        return "xmlString = " + xmlString + " md5 validate " + b;
    }
}
